package com.taobao.api.request;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;
import java.util.Map;

import com.taobao.api.ApiRuleException;
import com.taobao.api.BaseTaobaoRequest;
import com.taobao.api.internal.util.TaobaoHashMap;
import com.taobao.api.internal.util.json.JSONWriter;
import com.taobao.api.response.RdcAligeniusWarehouseResendUpdateResponse;

/**
 * TOP API: taobao.rdc.aligenius.warehouse.resend.update request
 * 
 * @author top auto create
 * @since 1.0, 2018.09.26
 */
public class RdcAligeniusWarehouseResendUpdateRequest extends BaseTaobaoRequest<RdcAligeniusWarehouseResendUpdateResponse> {
	
	

	/** 
	* 参数
	 */
	private String param0;

	public void setParam0(String param0) {
		this.param0 = param0;
	}

	public void setParam0(UpdateResendStatusDto param0) {
		this.param0 = new JSONWriter(false,true).write(param0);
	}

	public String getParam0() {
		return this.param0;
	}

	public String getApiMethodName() {
		return "taobao.rdc.aligenius.warehouse.resend.update";
	}

	public Map<String, String> getTextParams() {		
		TaobaoHashMap txtParams = new TaobaoHashMap();
		txtParams.put("param0", this.param0);
		if(this.udfParams != null) {
			txtParams.putAll(this.udfParams);
		}
		return txtParams;
	}

	public Class<RdcAligeniusWarehouseResendUpdateResponse> getResponseClass() {
		return RdcAligeniusWarehouseResendUpdateResponse.class;
	}

	public void check() throws ApiRuleException {
	}
	
	/**
 * 参数
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class UpdateResendStatusDto extends TaobaoObject {

	private static final long serialVersionUID = 1351363959532667657L;

	/**
		 * 描述
		 */
		@ApiField("msg")
		private String msg;
		/**
		 * erp补发单
		 */
		@ApiField("reissue_id")
		private String reissueId;
		/**
		 * 平台补发单唯一标识
		 */
		@ApiField("source_id")
		private String sourceId;
		/**
		 * 补发单状态（-1=关闭，1=补发成功，2=部分成功）
		 */
		@ApiField("status")
		private Long status;
		/**
		 * 主订单
		 */
		@ApiField("tid")
		private Long tid;
	

	public String getMsg() {
			return this.msg;
		}
		public void setMsg(String msg) {
			this.msg = msg;
		}
		public String getReissueId() {
			return this.reissueId;
		}
		public void setReissueId(String reissueId) {
			this.reissueId = reissueId;
		}
		public String getSourceId() {
			return this.sourceId;
		}
		public void setSourceId(String sourceId) {
			this.sourceId = sourceId;
		}
		public Long getStatus() {
			return this.status;
		}
		public void setStatus(Long status) {
			this.status = status;
		}
		public Long getTid() {
			return this.tid;
		}
		public void setTid(Long tid) {
			this.tid = tid;
		}

}


}